Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
Extended character support entries
You can define mappings between standard ASCII (7-bit) characters and extended (8-bit) characters in the
PROTERMCAPfile. Extended characters are typically non-English alphabetical characters. OpenEdge uses these mappings to build a translation table for processing characters in the input and output streams.If you use extended character sets, you must specify character mappings for each character set on a per-terminal basis. For example, the following code fragment from the
PROTERMCAPfile demonstrates how to map characters on the Wyse 60 keyboard to German language characters:
The
INstatements in the preceding example map ASCII characters (B, A, a, O, o, U, and u) to German characters (ß, Ä, ä, Ö, ö, Ü, and ü). When OpenEdge sees the character A (\101) on input, it converts the character to Ä (\216). Likewise, when OpenEdge needs to send an Ä to the terminal, it sends [ (\101). The terminal sees A and displays Ä.Suppose the terminal cannot display an Ä. You can use the
OUTstatement to specify an appropriate character to display for Ä, such as capital A. For example:
The
INandOUTstatements express both the ASCII character and the extended character in octal (\nnn) format.Given the appropriate
PROTERMCAPfile entries for a language and terminal, set theTERMenvironment variable toterminal/language(for example,TERM=wy60/german).You can also specify character mappings for the input and output streams using the
MAPoption with each of the following Progress language elements:For more information about these language elements, see OpenEdge Development: Progress 4GL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |